-- GENERATED SPELL FOR [Bubbling Swamp Ooze] --


function spell0_4394(pUnit, Event) --@Bubbling Ooze,Self--
pUnit:FullCastSpellOnTarget(43135,pUnit)
pUnit:RegisterEvent('Sorts_4394', 23000, 1)
end

function Sorts_4394(pUnit, Event)
local choix_sorts_4394 = math.random(0, 0)
if choix_sorts_4394 == 0 then
pUnit:RegisterEvent('spell0_4394', 1, 1)
end
end

function mob4394_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4394', math.random(1500, 3000), 1)
end

function mob4394_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4394_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4394_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4394, 1, 'mob4394_Action')
RegisterUnitEvent(4394, 2, 'mob4394_Leave')
RegisterUnitEvent(4394, 3, 'mob4394_Kill')
RegisterUnitEvent(4394, 4, 'mob4394_Die')
